{
  "chainer": {
    "in": ["text"],
    "pipe": [
      {
        "class_name": "ner_chunker",
        "batch_size": 16,
        "max_chunk_len" : 180,
        "max_seq_len" : 400,
        "vocab_file": "{TRANSFORMER}",
        "lowercase": true,
        "in": ["text"],
        "out": ["x_chunk", "chunk_nums", "chunk_sentences_offsets", "chunk_sentences"]
      },
      {
        "thres_proba": 0.89,
        "o_tag": "O",
        "tags_file": "{NER_PATH}/tag.dict",
        "return_entities_with_tags": true,
        "class_name": "entity_detection_parser",
        "id": "edp"
      },
      {
        "class_name": "ner_chunk_model",
        "ner": {"config_path": "./wikipedia_entity_detection_distilbert.json"},
        "ner_parser": "#edp",
        "in": ["x_chunk", "chunk_nums", "chunk_sentences_offsets", "chunk_sentences"],
        "out": ["entity_substr", "entity_offsets", "entity_positions", "tags", "sentences_offsets", "sentences", "probas"]
      }
    ],
    "out": ["entity_substr", "entity_offsets", "entity_positions", "tags", "sentences_offsets", "sentences", "probas"]
  },
  "metadata": {
    "variables": {
      "ROOT_PATH": "~/.deeppavlov",
      "DOWNLOADS_PATH": "{ROOT_PATH}/downloads",
      "CONFIGS_PATH": "{DEEPPAVLOV_PATH}/configs",
      "NER_PATH": "{ROOT_PATH}/models/dialog_entity_detection",
      "TRANSFORMER": "bert-base-uncased"
    },
    "download": [
    ]
  }
}
